<!DOYTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Polygon Test</title>
    <link href="third-lib/bootstrap/bootstrap.min.css" rel="stylesheet">
    <link href="static/css/style.css" rel="stylesheet">



</head>

<body>
<div id="myjumbotron" class="jumbotron">
    <h1>多边形生成,填充,计算面积</h1>
    <p></p>
</div>
<div class="container">
    <div class="out-container">
        <div id="setting">
            <div class="row">
                <div id="color-choice" class="col col-md-9">
                    <p>-Color Choice-</p>

                    <button type="button" class="btn btn-primary select">屌丝蓝</button>
                    <button type="button" class="btn btn-danger">姨妈红</button>
                    <button type="button" class="btn btn-warning">东莞黄</button>
                    <button type="button" class="btn btn-success">帽子绿</button>
                    <button type="button" class="btn btn-info">天依蓝</button>


                </div>
                <div class="col col-md-3">
                    <div id="proportion">
                        <p>-proportion-</p>
                        <span class="proportion-num">0</span>
                    </div>


                </div>
            </div>
        </div>
        <canvas id="polygon_canvas" height="1000" width="800"></canvas>
    </div>


</div>

<script src="third-lib/seajs/sea.js"></script>
<script src="third-lib/jquery/jquery.js"></script>
<script>
  seajs.config({
    base:'./third-lib',
    alias: {
      'jquery': 'jquery/jquery',
      'bootstrap': 'bootstrap/bootstrap.min'
    }
  });

  seajs.use('bootstrap');
  seajs.use('./static/js/main');
</script>
</body>
</html>